 |
API Documentation
|
|
|
11 class DLL_GRAPHICS_EXPORT
Matrix :
public ByteAlignedClass<16>
39 Matrix (
float x0,
float y0,
float z0,
float w0,
float x1,
float y1,
float z1,
float w1,
float x2,
float y2,
float z2,
float w2,
float x3,
float y3,
float z3,
float w3) ;
51 Matrix (
const DirectX::XMMATRIX& values) ;
165 float get (
unsigned int row,
unsigned int col)
const ;
171 void set (
float val,
unsigned int row,
unsigned int col) ;
278 void operator*= (
float scalar) ;
291 void operator /= (
float scalar) ;
float getTraceMat4() const
void setToOrthographicMatrix(float fov, float camSpaceWidth, float camSpaceHeight, float nearVal, float farVal)
void getDecomposed(Vector &position, Quaternion &orientation, Vector &scale)
Encompasses all API of component NilkinsMaths.
Definition: IVector.h:7
void setToTransformation(const Vector &position, const Quaternion &orientation, const Vector &scale)
void setToViewMatrixDirection(const Vector &position, const Vector &direction, const Vector &upDirection)
Vector getThirdRow() const
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:12
float getTraceMat3() const
Vector getFirstRow() const
Represents a 4x4 float matrix.
Definition: Matrix.h:12
Vector getScaleComponent() const
Vector getFourthRow() const
float getDeterminantMat3() const
DirectX::XMMATRIX getValues() const
float getDeterminantMat4() const
void set(float val, unsigned int row, unsigned int col)
Matrix getInverse() const
Matrix(const DirectX::XMMATRIX &values)
void setToRotationFromQuaternion(const Quaternion &origin)
void fromString(const std::string_view &str)
Matrix(const Matrix &other)
Matrix(float x0, float y0, float z0, float w0, float x1, float y1, float z1, float w1, float x2, float y2, float z2, float w2, float x3, float y3, float z3, float w3)
Vector getPositionComponent() const
A 4-component vector class, with floats.
Definition: Vector.h:12
Vector getSecondRow() const
void setToPerspectiveMatrix(float fov, float aspect, float nearVal, float farVal)
float get(unsigned int row, unsigned int col) const
Matrix getTranspose() const
Quaternion getOrientationComponent() const